package com.zh.common.base.bean

import java.io.Serializable

/**
 * @author: qq363
 * @date: 2019/5/10
 * @description:
 */
data class BaseResponse<T>(var code: Int = 0, var message: String = "", var data: T): Serializable {
    //请求成功返回数据
    fun isSuccess(): Boolean = code == 200
}